package com.copsoftware.reportes.geografico.support;

import com.copsoftware.struts.forms.AdministradorTematicosForm;

public class BeanBaseGeoReportProcessor {
	protected String posicionWizzard = "";

	protected boolean esGenerarSelected = false;

	protected boolean esCancelarSelected = false;

	protected boolean esGuardarSelected = false;

	protected boolean esRegresarSelected = false;

	protected boolean esCalcOcurSelected = false;

	protected boolean esMostrarTablaSelected = false;

	protected boolean esSiguienteSelected = false;
	
	protected String tipoReporte = "";
	
	protected String tipoTematico = "";
	
	
	public BeanBaseGeoReportProcessor(AdministradorTematicosForm form) {
		cargarLocalVariables(form);
	}


	private void cargarLocalVariables(AdministradorTematicosForm form) {
		posicionWizzard = form.getPosicionWizzard();
		tipoReporte = form.getTipoReporte();
		tipoTematico= form.getTipoTematico();
		esGenerarSelected = form.getBtnGenerar().isSelected();
		esCancelarSelected = form.getBtnCancelar().isSelected();
		esGuardarSelected = form.getBtnGuardar().isSelected();
		esRegresarSelected = form.getBtnRegresar().isSelected();
		esCalcOcurSelected = form.getBtnCalcularOcurrencias().isSelected();
		esMostrarTablaSelected = form.getBtnMostraTabla().isSelected();
		esSiguienteSelected = form.getBtnSiguiente().isSelected();
	}
}
